﻿using System.ComponentModel.DataAnnotations;

namespace SinBiota.Model.Entities.CustomAttributes
{
    public class ValidDateAttribute : RegularExpressionAttribute
    {
        public ValidDateAttribute() : base(@"^(0[1-9]|[12][0-9]|3[01])[-/.](0[1-9]|1[012])[-/.](19|20)\d\d$") { }
    }
}